Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Put filters back in the filter context where they belong #42095

Merged
merged 6 commits into from
Aug 1, 2019

Conversation

Bargs
Copy link
Contributor

@Bargs Bargs commented Jul 26, 2019

Summary

Fixes #8367

As this comment makes very clear, filters were never really meant to take part in scoring in the first place. This PR puts filters back in the filter context where they were in 4.x so they can benefit from the filter cache.

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

- [ ] This was checked for cross-browser compatibility, including a check against IE11
- [ ] Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support
- [ ] Documentation was added for features that require explanation or tutorials

For maintainers

- [ ] This was checked for breaking API changes and was labeled appropriately

@Bargs Bargs added release_note:fix Team:Visualizations Visualization editors, elastic-charts and infrastructure v8.0.0 labels Jul 26, 2019
@Bargs Bargs requested a review from lukasolson July 26, 2019 22:09
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@Bargs Bargs requested a review from a team July 31, 2019 23:18
Copy link
Member

@lukasolson lukasolson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM code/functionality.

@elasticmachine
Copy link
Contributor

💔 Build Failed

@Bargs Bargs added the v7.4.0 label Aug 1, 2019
@elasticmachine
Copy link
Contributor

💔 Build Failed

@Bargs
Copy link
Contributor Author

Bargs commented Aug 1, 2019

retest

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@Bargs Bargs merged commit dd75d83 into elastic:master Aug 1, 2019
Bargs added a commit to Bargs/kibana that referenced this pull request Aug 1, 2019
Filters were never really meant to take part in scoring in the first place. This PR puts filters back in the filter context where they were in 4.x so they can benefit from the filter cache.
Bargs added a commit that referenced this pull request Aug 2, 2019
…2496)

Filters were never really meant to take part in scoring in the first place. This PR puts filters back in the filter context where they were in 4.x so they can benefit from the filter cache.
@thatguy7 thatguy7 mentioned this pull request Jun 2, 2020
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:fix Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.4.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Underlying Elasticsearch queries do not use filter context when appropriate
3 participants